package zee.com.customviewexample.activity

import com.example.eventexample.SnackBarUtils
import kotlinx.android.synthetic.main.activity_snackbar.*
import zee.com.customviewexample.R

class SnackBarActivity : BaseActivity() {

    override fun getLayoutID(): Int {
        return R.layout.activity_snackbar
    }

    override fun initViews() {
        onExampleA()
    }

    fun onExampleB() {
    }

    fun onExampleA() {
        tv_snackBar_a.setOnClickListener {
            SnackBarUtils.showMessage("显示消息");
        }
    }
}
